package itpenguin.train;

import itpenguin.train.common.Train;
import itpenguin.train.mta.Mta;

import java.io.IOException;
import java.util.List;
import java.util.TimeZone;

public class MtaPositions extends TrainPositions {

	private static final long serialVersionUID = 1L;

	@Override
	protected List<? extends Train> getTrainList() throws IOException {
        Mta mta = new Mta();
		return mta.getCurrentPositions();
	}

	@Override
	protected TimeZone getTimeZone() {
		return TimeZone.getTimeZone("America/New_York");
	}
	
}
